package com.dk.service.impl;

import com.dk.mapper.NewsTypeMapper;
import com.dk.pojo.NewsType;
import com.dk.service.NewTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NewTypeServiceImpl implements NewTypeService {
    @Autowired
    private NewsTypeMapper newsTypeMapper;

    @Override
    public List<NewsType> selectInfo() {
        return newsTypeMapper.selectByExample(null);
    }
}
